<!-- 导航条
================================================== -->
<div class="container top">
    <div id="top"></div>
    <div class="logo"><img src="__ROOT__{:get_cover($logo['logo'],$field = path)}"/></div>
    <div class="booking"><a href="{$foot.Facebook}" target="_blank"><i class="fa fa-facebook"></i></a><a href="{$foot.Youtube}" target="_blank"><i class="fa fa-youtube"></i></a></div>
    <nav class="navbar">
        <div class="container-fluid">
            <a href="#" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"><i class="fa fa-bars"></i></a>
            <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
                <ul class="nav navbar-nav">
                    <think:nav name="nav">
                        <eq name="nav.pid" value="0">
                        <li>
                            <a href="{$nav.url|get_nav_url}" target="<eq name='nav.target' value='1'>_blank<else/>_self</eq>">{$nav.title}</a>
                        </li>
                        </eq>
                    </think:nav>
                </ul>

            </div>
            <div class="navbar-right">
                <form class="navbar-form navbar-left" role="search" method="post" action="{:U('Home/Index/search')}">
                    <div class="form-group">
                        <input name="pname" type="text" class="form-control" placeholder="搜索">
                    </div>
                    <button type="submit" class="btn btn-search"><i class="fa fa-search"></i></button>
                </form>
            </div>
        </div>
    </nav>
</div>

